package com.nbot.server.service.impl;

import com.nbot.server.domain.SysParameterDO;
import com.nbot.server.mapper.master.SysParameterMapper;
import com.nbot.server.service.SysParameterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysParameterServiceImpl implements SysParameterService {
    @Autowired
    private SysParameterMapper sysParameterMapper;

    @Override
    public SysParameterDO get(Long autoId) {
        return sysParameterMapper.get(autoId);
    }

    @Override
    public List<SysParameterDO> list(Map<String, Object> map) {
        return sysParameterMapper.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return sysParameterMapper.count(map);
    }

    @Override
    public int save(SysParameterDO sysParameter) {
        return sysParameterMapper.save(sysParameter);
    }

    @Override
    public int update(SysParameterDO sysParameter) {
        return sysParameterMapper.update(sysParameter);
    }

    @Override
    public int remove(Long autoId) {
        return sysParameterMapper.remove(autoId);
    }

    @Override
    public int batchRemove(Long[] autoIds) {
        return sysParameterMapper.batchRemove(autoIds);
    }

}
